import router from '@system.router';

export default {
    launch() {
        router.push ({
            uri1:'pages/page2/page2', // 指定要跳转的页面
        })
    },
    by() {
        router.push ({
            uri:'pages/page1/page1', // 跳转到注册页面
        })
    },
    text1() {
        router.push ({
            uri:'pages/text1/text1', // 跳转到注册页面
        })
    },
    text2() {
        router.push ({
            uri:'pages/text2/text2', // 跳转到注册页面
        })
    },
    text3() {
        router.push ({
            uri:'pages/text3/text3', // 跳转到注册页面
        })
    },
    text4() {
        router.push ({
            uri:'pages/text4/text4', // 跳转到注册页面
        })
    },
    data: {
        title: "",

        fresh:false,
        //        descriptionFirstParagraph:'右上方进行拍照识别，分级诊疗。\n下方是一下关于黑色素瘤的知识。',
        //不能大写
        //轮播图片
        imageList: ['/common/images/p11.png', '/common/images/p12.png', '/common/images/p13.png', '/common/images/p14.png', '/common/images/p15.png'],
        scrollAmount: 5,
        loop: -1,
        marqueeDir: 'left',
        //        marqueeCustomData: '右上方进行拍照识别，进行分级诊疗。\n下方是一下关于黑色素瘤的知识。',
        //将["","","","",""...]结构的数据转化为[["","",""],["",""],["","",""]...]结构
        //       ["one","two"],
        datas:[
            ["three","four","five"],
            ["six","seven"],
            ["eight","nine","ten"]]

    },
    //输入框内容改变时执行
    searchChange(e){
        //将输入框中的值赋给变量 id
        this.id = e.value;
    },
    closeSecond(e) {
        this.second = false;
    }
}